a<%@ page import="java.util.List"%>
<%@ page import="com.riq.entity.Icon"%>
<%@ page import="java.util.logging.Logger"%>
<%@ page import="java.io.IOException"%>
<%@ page import="javax.servlet.*"%>

<% Icon i = (Icon) request.getAttribute("icon"); %>

<!-- Copyright 2010 John L. Reilly

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>FirstResponder</title>

<!--META-->
<meta http-equiv="content-type"  content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width" />

<!--STYLESHEET-->
<link rel="stylesheet" type="text/css" href="stylesheets/static.css" />
</head>

<body>
<!--FIXED HEADERS-->
<div class="headwrap">
<div class="hBlack">
<div class="headerLeftTop">FirstResponder</div>
<div class="headerRightTop">ver 0.9</div>
<div class="headerLeftBottom">Icon: Edit</div>
<div class="headerRightBottom">12:34 PM</div>
</div>
<div class="hGray">
  <a class="buttonGrayHdr" href="mainMenu.html">Main</a>
  <a class="buttonGrayHdr" href="commandMenu.html">Command</a>
  <a class="buttonGrayHdr gSelected" href="department?action=display">Admin</a>
</div>
<div class="headerMist"></div>
</div>

<div class="outwrap">
<div class="headerPlugShort"></div>

<!--BUTTONS-->
<div id="centeredButtons"><ul><li>
<a class="button blue narrow tall last"
   href="department?action=display">Cancel</a></li><li>
<a class="button green narrow tall last "
   href="#" onclick="javascript:document.forms[0].submit();return false;">Save</a>
</li></ul></div>

<!--FORM-->
<form method="post" action="icon?action=set">
<input type=hidden name="iconId" value="<%=i.getid()%>" />
<input type=hidden name="deptId" value="<%=i.getdeptId()%>" />
<div class="row">Short Name:</div>
<div><input class="inputfield" type="input" name="shortName" value="<%=i.getshortName()%>" /></div>
<div class="row">Long Name:</div>
<div><input class="inputfield" type="input" name="longName" value="<%=i.getlongName()%>" /></div>
<div class="row">Type:</div>
<div><input class="inputfield" type="input" name="type" value="<%=i.gettype()%>" /></div>
<div class="row">Background Color:</div>
<div><input class="inputfield" type="input" name="bcolor" value="<%=i.getbcolor()%>" /></div>
<div class="row">Font Color:</div>
<div><input class="inputfield" type="input" name="fcolor" value="<%=i.getfcolor()%>" /></div>
<div class="row">Padding (Top):</div>
<div><input class="inputfield" type="input" name="padT" value="<%=i.getpadT()%>" /></div>
<div class="row">Padding (Bottom):</div>
<div><input class="inputfield" type="input" name="padB" value="<%=i.getpadB()%>" /></div>
<div class="row">Padding (Left):</div>
<div><input class="inputfield" type="input" name="padL" value="<%=i.getpadL()%>" /></div>
<div class="row">Padding (Right):</div>
<div><input class="inputfield" type="input" name="padR" value="<%=i.getpadR()%>" /></div>
</form>

<!--BUTTONS-->
<div id="centeredButtons"><ul><li>
<a class="button blue narrow tall first last"
   href="department?action=display">Cancel</a></li><li>
<a class="button green narrow tall first last "
   href="#" onclick="javascript:document.forms[0].submit();return false;">Save</a>
</li></ul></div>
  
<div class="quickHints">
<div class="subtextHints">Quick Hints:</div></div>

<div class="reportWrapper">
<div class="cCode" style="background-color:#FFFFFF; color: black">FFFFFF</div>
<div class="cCode" style="background-color:#FFFFCC; color: black">FFFFCC</div>
<div class="cCode" style="background-color:#FFFF99; color: black">FFFF99</div>
<div class="cCode" style="background-color:#FFFF66; color: black">FFFF66</div>
<div class="cCode" style="background-color:#FFFF33; color: black">FFFF33</div>
<div class="cCode" style="background-color:#FFFF00; color: black">FFFF00</div>
<div class="cCode" style="background-color:#CCFFFF; color: black">CCFFFF</div>
<div class="cCode" style="background-color:#CCFFCC; color: black">CCFFCC</div>
<div class="cCode" style="background-color:#CCFF99; color: black">CCFF99</div>
<div class="cCode" style="background-color:#CCFF66; color: black">CCFF66</div>
<div class="cCode" style="background-color:#CCFF33; color: black">CCFF33</div>
<div class="cCode" style="background-color:#CCFF00; color: black">CCFF00</div>
<div class="cCode" style="background-color:#99FFFF; color: black">99FFFF</div>
<div class="cCode" style="background-color:#99FFCC; color: black">99FFCC</div>
<div class="cCode" style="background-color:#99FF99; color: black">99FF99</div>
<div class="cCode" style="background-color:#66FFFF; color: black">66FFFF</div>
<div class="cCode" style="background-color:#99FF66; color: black">99FF66</div>
<div class="cCode" style="background-color:#00FF33; color: black">99FF33</div>
<div class="cCode" style="background-color:#66FFCC; color: black">66FFCC</div>
<div class="cCode" style="background-color:#FFCCFF; color: black">FFCCFF</div>
<div class="cCode" style="background-color:#99FF00; color: black">99FF00</div>
<div class="cCode" style="background-color:#33FFFF; color: black">33FFFF</div>
<div class="cCode" style="background-color:#FFCCCC; color: black">FFCCCC</div>
<div class="cCode" style="background-color:#33FFCC; color: black">33FFCC</div>
<div class="cCode" style="background-color:#00FFFF; color: black">00FFFF</div>
<div class="cCode" style="background-color:#66FF99; color: black">66FF99</div>
<div class="cCode" style="background-color:#FFCC99; color: black">FFCC99</div>
<div class="cCode" style="background-color:#66FF66; color: black">66FF66</div>
<div class="cCode" style="background-color:#66FF33; color: black">66FF33</div>
<div class="cCode" style="background-color:#00FFCC; color: black">00FFCC</div>
<div class="cCode" style="background-color:#66FF00; color: black">66FF00</div>
<div class="cCode" style="background-color:#33FF99; color: black">33FF99</div>
<div class="cCode" style="background-color:#FFCC66; color: black">FFCC66</div>
<div class="cCode" style="background-color:#FFCC33; color: black">FFCC33</div>
<div class="cCode" style="background-color:#CCCCFF; color: black">CCCCFF</div>
<div class="cCode" style="background-color:#33FF66; color: black">33FF66</div>
<div class="cCode" style="background-color:#33FF33; color: black">33FF33</div>
<div class="cCode" style="background-color:#00FF99; color: black">00FF99</div>
<div class="cCode" style="background-color:#FFCC00; color: black">FFCC00</div>
<div class="cCode" style="background-color:#33FF00; color: black">33FF00</div>
<div class="cCode" style="background-color:#00FF66; color: black">00FF66</div>
<div class="cCode" style="background-color:#00FF33; color: black">00FF33</div>
<div class="cCode" style="background-color:#00FF00; color: black">00FF00</div>
<div class="cCode" style="background-color:#CCCCCC; color: black">CCCCCC</div>
<div class="cCode" style="background-color:#CCCC99; color: black">CCCC99</div>
<div class="cCode" style="background-color:#99CCFF; color: black">99CCFF</div>
<div class="cCode" style="background-color:#CCCC66; color: black">CCCC66</div>
<div class="cCode" style="background-color:#CCCC00; color: black">CCCC00</div>
<div class="cCode" style="background-color:#CCCC33; color: black">CCCC33</div>
<div class="cCode" style="background-color:#99CCCC; color: black">99CCCC</div>
<div class="cCode" style="background-color:#FF99FF; color: black">FF99FF</div>
<div class="cCode" style="background-color:#99CC99; color: black">99CC99</div>
<div class="cCode" style="background-color:#66CCFF; color: black">66CCFF</div>
<div class="cCode" style="background-color:#FF99CC; color: black">FF99CC</div>
<div class="cCode" style="background-color:#99CC66; color: black">99CC66</div>
<div class="cCode" style="background-color:#66CCCC; color: black">66CCCC</div>
<div class="cCode" style="background-color:#99CC33; color: black">99CC33</div>
<div class="cCode" style="background-color:#00CCFF; color: white">00CCFF</div>
<div class="cCode" style="background-color:#33CCFF; color: white">33CCFF</div>
<div class="cCode" style="background-color:#99CC00; color: white">99CC00</div>
<div class="cCode" style="background-color:#FF9999; color: white">FF9999</div>
<div class="cCode" style="background-color:#66CC99; color: white">66CC99</div>
<div class="cCode" style="background-color:#FF9966; color: white">FF9966</div>
<div class="cCode" style="background-color:#66CC66; color: white">66CC66</div>
<div class="cCode" style="background-color:#33CCCC; color: white">33CCCC</div>
<div class="cCode" style="background-color:#CC99FF; color: white">CC99FF</div>
<div class="cCode" style="background-color:#00CCCC; color: white">00CCCC</div>
<div class="cCode" style="background-color:#FF9933; color: white">FF9933</div>
<div class="cCode" style="background-color:#FF9900; color: white">FF9900</div>
<div class="cCode" style="background-color:#66CC33; color: white">66CC33</div>
<div class="cCode" style="background-color:#66CC00; color: white">66CC00</div>
<div class="cCode" style="background-color:#33CC99; color: white">33CC99</div>
<div class="cCode" style="background-color:#00CC99; color: white">00CC99</div>
<div class="cCode" style="background-color:#CC99CC; color: white">CC99CC</div>
<div class="cCode" style="background-color:#33CC66; color: white">33CC66</div>
<div class="cCode" style="background-color:#00CC66; color: white">00CC66</div>
<div class="cCode" style="background-color:#CC9999; color: white">CC9999</div>
<div class="cCode" style="background-color:#FF66FF; color: white">FF66FF</div>
<div class="cCode" style="background-color:#33CC33; color: white">33CC33</div>
<div class="cCode" style="background-color:#33CC00; color: white">33CC00</div>
<div class="cCode" style="background-color:#CC9966; color: white">CC9966</div>
<div class="cCode" style="background-color:#00CC33; color: white">00CC33</div>
<div class="cCode" style="background-color:#9999FF; color: white">9999FF</div>
<div class="cCode" style="background-color:#00CC00; color: white">00CC00</div>
<div class="cCode" style="background-color:#CC9933; color: white">CC9933</div>
<div class="cCode" style="background-color:#CC9900; color: white">CC9900</div>
<div class="cCode" style="background-color:#FF66CC; color: white">FF66CC</div>
<div class="cCode" style="background-color:#9999CC; color: white">9999CC</div>
<div class="cCode" style="background-color:#FF6699; color: white">FF6699</div>
<div class="cCode" style="background-color:#999999; color: white">999999</div>
<div class="cCode" style="background-color:#6699FF; color: white">6699FF</div>
<div class="cCode" style="background-color:#FF6666; color: white">FF6666</div>
<div class="cCode" style="background-color:#CC66FF; color: white">CC66FF</div>
<div class="cCode" style="background-color:#999966; color: white">999966</div>
<div class="cCode" style="background-color:#6699CC; color: white">6699CC</div>
<div class="cCode" style="background-color:#999933; color: white">999933</div>
<div class="cCode" style="background-color:#FFCC33; color: white">FFCC33</div>
<div class="cCode" style="background-color:#FF6600; color: white">FF6600</div>
<div class="cCode" style="background-color:#FF33FF; color: white">FF33FF</div>
<div class="cCode" style="background-color:#3399FF; color: white">3399FF</div>
<div class="cCode" style="background-color:#999900; color: white">999900</div>
<div class="cCode" style="background-color:#669999; color: white">669999</div>
<div class="cCode" style="background-color:#CC66CC; color: white">CC66CC</div>
<div class="cCode" style="background-color:#0099FF; color: white">0099FF</div>
<div class="cCode" style="background-color:#FF33CC; color: white">FF33CC</div>
<div class="cCode" style="background-color:#3399CC; color: white">3399CC</div>
<div class="cCode" style="background-color:#CC6699; color: white">CC6699</div>
<div class="cCode" style="background-color:#669966; color: white">669966</div>
<div class="cCode" style="background-color:#FF00FF; color: white">FF00FF</div>
<div class="cCode" style="background-color:#339999; color: white">339999</div>
<div class="cCode" style="background-color:#669933; color: white">669933</div>
<div class="cCode" style="background-color:#669900; color: white">669900</div>
<div class="cCode" style="background-color:#FF3399; color: white">FF3399</div>
<div class="cCode" style="background-color:#0099CC; color: white">0099CC</div>
<div class="cCode" style="background-color:#9966FF; color: white">9966FF</div>
<div class="cCode" style="background-color:#CC6666; color: white">CC6666</div>
<div class="cCode" style="background-color:#009999; color: white">009999</div>
<div class="cCode" style="background-color:#CC6633; color: white">CC6633</div>
<div class="cCode" style="background-color:#CC6600; color: white">CC6600</div>
<div class="cCode" style="background-color:#339966; color: white">339966</div>
<div class="cCode" style="background-color:#FF00CC; color: white">FF00CC</div>
<div class="cCode" style="background-color:#FF3366; color: white">FF3366</div>
<div class="cCode" style="background-color:#009966; color: white">009966</div>
<div class="cCode" style="background-color:#CC33FF; color: white">CC33FF</div>
<div class="cCode" style="background-color:#FF3333; color: white">FF3333</div>
<div class="cCode" style="background-color:#339933; color: white">339933</div>
<div class="cCode" style="background-color:#009933; color: white">009933</div>
<div class="cCode" style="background-color:#9966CC; color: white">9966CC</div>
<div class="cCode" style="background-color:#FF3300; color: white">FF3300</div>
<div class="cCode" style="background-color:#FF0099; color: white">FF0099</div>
<div class="cCode" style="background-color:#339900; color: white">339900</div>
<div class="cCode" style="background-color:#009900; color: white">009900</div>
<div class="cCode" style="background-color:#6666FF; color: white">6666FF</div>
<div class="cCode" style="background-color:#CC33CC; color: white">CC33CC</div>
<div class="cCode" style="background-color:#FF0066; color: white">FF0066</div>
<div class="cCode" style="background-color:#996699; color: white">996699</div>
<div class="cCode" style="background-color:#FF0033; color: white">FF0033</div>
<div class="cCode" style="background-color:#FF0000; color: white">FF0000</div>
<div class="cCode" style="background-color:#CC00FF; color: white">CC00FF</div>
<div class="cCode" style="background-color:#CC3399; color: white">CC3399</div>
<div class="cCode" style="background-color:#996666; color: white">996666</div>
<div class="cCode" style="background-color:#6666CC; color: white">6666CC</div>
<div class="cCode" style="background-color:#996633; color: white">996633</div>
<div class="cCode" style="background-color:#996600; color: white">996600</div>
<div class="cCode" style="background-color:#3366FF; color: white">3366FF</div>
<div class="cCode" style="background-color:#CC3366; color: white">CC3366</div>
<div class="cCode" style="background-color:#CC00CC; color: white">CC00CC</div>
<div class="cCode" style="background-color:#9933FF; color: white">9933FF</div>
<div class="cCode" style="background-color:#0066FF; color: white">0066FF</div>
<div class="cCode" style="background-color:#666699; color: white">666699</div>
<div class="cCode" style="background-color:#CC3333; color: white">CC3333</div>
<div class="cCode" style="background-color:#CC3300; color: white">CC3300</div>
<div class="cCode" style="background-color:#3366CC; color: white">3366CC</div>
<div class="cCode" style="background-color:#CC0099; color: white">CC0099</div>
<div class="cCode" style="background-color:#9933CC; color: white">9933CC</div>
<div class="cCode" style="background-color:#666666; color: white">666666</div>
<div class="cCode" style="background-color:#666633; color: white">666633</div>
<div class="cCode" style="background-color:#0066CC; color: white">0066CC</div>
<div class="cCode" style="background-color:#9900FF; color: white">9900FF</div>
<div class="cCode" style="background-color:#666600; color: white">666600</div>
<div class="cCode" style="background-color:#CC0066; color: white">CC0066</div>
<div class="cCode" style="background-color:#336699; color: white">336699</div>
<div class="cCode" style="background-color:#993399; color: white">993399</div>
<div class="cCode" style="background-color:#CC0033; color: white">CC0033</div>
<div class="cCode" style="background-color:#6633FF; color: white">6633FF</div>
<div class="cCode" style="background-color:#336666; color: white">336666</div>
<div class="cCode" style="background-color:#006699; color: white">006699</div>
<div class="cCode" style="background-color:#CC0000; color: white">CC0000</div>
<div class="cCode" style="background-color:#993366; color: white">993366</div>
<div class="cCode" style="background-color:#9900CC; color: white">9900CC</div>
<div class="cCode" style="background-color:#336633; color: white">336633</div>
<div class="cCode" style="background-color:#006666; color: white">006666</div>
<div class="cCode" style="background-color:#336600; color: white">336600</div>
<div class="cCode" style="background-color:#6633CC; color: white">6633CC</div>
<div class="cCode" style="background-color:#3333FF; color: white">3333FF</div>
<div class="cCode" style="background-color:#006633; color: white">006633</div>
<div class="cCode" style="background-color:#993333; color: white">993333</div>
<div class="cCode" style="background-color:#993300; color: white">993300</div>
<div class="cCode" style="background-color:#6600FF; color: white">6600FF</div>
<div class="cCode" style="background-color:#990099; color: white">990099</div>
<div class="cCode" style="background-color:#006600; color: white">006600</div>
<div class="cCode" style="background-color:#0033FF; color: white">0033FF</div>
<div class="cCode" style="background-color:#663399; color: white">663399</div>
<div class="cCode" style="background-color:#009966; color: white">009966</div>
<div class="cCode" style="background-color:#3333CC; color: white">3333CC</div>
<div class="cCode" style="background-color:#663366; color: white">663366</div>
<div class="cCode" style="background-color:#6600CC; color: white">6600CC</div>
<div class="cCode" style="background-color:#990033; color: white">990033</div>
<div class="cCode" style="background-color:#0033CC; color: white">0033CC</div>
<div class="cCode" style="background-color:#990000; color: white">990000</div>
<div class="cCode" style="background-color:#3300FF; color: white">3300FF</div>
<div class="cCode" style="background-color:#663333; color: white">663333</div>
<div class="cCode" style="background-color:#663300; color: white">663300</div>
<div class="cCode" style="background-color:#660099; color: white">660099</div>
<div class="cCode" style="background-color:#0000FF; color: white">0000FF</div>
<div class="cCode" style="background-color:#333399; color: white">333399</div>
<div class="cCode" style="background-color:#3300CC; color: white">3300CC</div>
<div class="cCode" style="background-color:#003399; color: white">003399</div>
<div class="cCode" style="background-color:#333300; color: white">333300</div>
<div class="cCode" style="background-color:#660066; color: white">660066</div>
<div class="cCode" style="background-color:#333333; color: white">333333</div>
<div class="cCode" style="background-color:#003366; color: white">003366</div>
<div class="cCode" style="background-color:#0000CC; color: white">0000CC</div>
<div class="cCode" style="background-color:#660033; color: white">660033</div>
<div class="cCode" style="background-color:#333300; color: white">333300</div>
<div class="cCode" style="background-color:#660000; color: white">660000</div>
<div class="cCode" style="background-color:#330099; color: white">330099</div>
<div class="cCode" style="background-color:#003333; color: white">003333</div>
<div class="cCode" style="background-color:#003300; color: white">003300</div>
<div class="cCode" style="background-color:#000099; color: white">000099</div>
<div class="cCode" style="background-color:#330066; color: white">330066</div>
<div class="cCode" style="background-color:#330033; color: white">330033</div>
<div class="cCode" style="background-color:#000066; color: white">000066</div>
<div class="cCode" style="background-color:#330000; color: white">330000</div>
<div class="cCode" style="background-color:#000033; color: white">000033</div>
<div class="cCode" style="background-color:#000000; color: white">000000</div>
</div>

 
<!--FOOTER-->
<div class="footer">FirstResponder</div>

<!--OUTLINE WRAPPER -->
</div> 

</body>
</html>